package com.eascs.tdriskcloud.form;

import java.util.List;

import com.eascs.tdriskcloud.entity.TdHitRule;
import com.eascs.tdriskcloud.entity.TdPolicySet;

public class EventOutDetails {

	private String success; //接口调用是否成功，失败原因参见reason_code字段
	
	private String reasonCode; //接口调用是否成功，失败原因参见reason_code表
	
	private String seqId; //这条事件的sequence id
	
	private String finalDecision; //最终的风险评估结果，取所有策略中分数最高的结果
	
	private String finalScore; //最终的风险系数
	
	private List<TdHitRule> hitRules; //命中的规则详情
	
	private String riskType; //风险类型
	
	private String policySetName; //触发的策略集名称
	
	private String policyName; //触发的策略名称
	
	private List<TdPolicySet> policySet; //展示策略集的内容

	public String getSuccess() {
		return success;
	}

	public void setSuccess(String success) {
		this.success = success;
	}

	public String getReasonCode() {
		return reasonCode;
	}

	public void setReasonCode(String reasonCode) {
		this.reasonCode = reasonCode;
	}

	public String getSeqId() {
		return seqId;
	}

	public void setSeqId(String seqId) {
		this.seqId = seqId;
	}

	public String getFinalDecision() {
		return finalDecision;
	}

	public void setFinalDecision(String finalDecision) {
		this.finalDecision = finalDecision;
	}

	public String getFinalScore() {
		return finalScore;
	}

	public void setFinalScore(String finalScore) {
		this.finalScore = finalScore;
	}

	public List<TdHitRule> getHitRules() {
		return hitRules;
	}

	public void setHitRules(List<TdHitRule> hitRules) {
		this.hitRules = hitRules;
	}

	public String getRiskType() {
		return riskType;
	}

	public void setRiskType(String riskType) {
		this.riskType = riskType;
	}

	public String getPolicySetName() {
		return policySetName;
	}

	public void setPolicySetName(String policySetName) {
		this.policySetName = policySetName;
	}

	public String getPolicyName() {
		return policyName;
	}

	public void setPolicyName(String policyName) {
		this.policyName = policyName;
	}

	public List<TdPolicySet> getPolicySet() {
		return policySet;
	}

	public void setPolicySet(List<TdPolicySet> policySet) {
		this.policySet = policySet;
	}

	@Override
	public String toString() {
		return "EventOutDetails [success=" + success + ", reasonCode=" + reasonCode + ", seqId=" + seqId
				+ ", finalDecision=" + finalDecision + ", finalScore=" + finalScore + ", hitRules=" + hitRules
				+ ", riskType=" + riskType + ", policySetName=" + policySetName + ", policyName=" + policyName
				+ ", policySet=" + policySet + "]";
	}
	
	//private List<> outputFields; //展示自定义输出内容，为JSON Array格式,若没有使用决策结果自定义,那么不会返回该结果
	
	
}
